<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
XBeeXmppGateway
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="XBeeXmppGateway";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeOpenfireGateway.html" title="class in com.rapplogic.xbee.xmpp.gateway"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XBeeXmppGateway.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.rapplogic.xbee.xmpp.gateway</FONT>
<BR>
Class XBeeXmppGateway</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">com.rapplogic.xbee.api.XBee
      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html" title="class in com.rapplogic.xbee.xmpp">com.rapplogic.xbee.xmpp.XBeeXmpp</A>
          <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html" title="class in com.rapplogic.xbee.xmpp">com.rapplogic.xbee.xmpp.XBeeXmppPacket</A>
              <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.rapplogic.xbee.xmpp.gateway.XBeeXmppGateway</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>com.rapplogic.xbee.api.IXBee, com.rapplogic.xbee.api.PacketListener, org.jivesoftware.smack.MessageListener</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeGtalkGateway.html" title="class in com.rapplogic.xbee.xmpp.gateway">XBeeGtalkGateway</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeOpenfireGateway.html" title="class in com.rapplogic.xbee.xmpp.gateway">XBeeOpenfireGateway</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>XBeeXmppGateway</B><DT>extends <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html" title="class in com.rapplogic.xbee.xmpp">XBeeXmppPacket</A><DT>implements com.rapplogic.xbee.api.PacketListener</DL>
</PRE>

<P>
Interfaces a serial connected XBee network to XMPP.
 All XBee response objects received from the serial line are forwarded to XMPP for awaiting clients  
 Receives XBee request objects via XMPP and forwards to the XBee network
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>andrew</DD>
</DL>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#XBeeXmppGateway()">XBeeXmppGateway</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#getBaudRate()">getBaudRate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#getClientList()">getClientList</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#getComPort()">getComPort</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#getRosterList()">getRosterList</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#handleUndeliverableClient(com.rapplogic.xbee.api.XBeeResponse, java.lang.String)">handleUndeliverableClient</A></B>(com.rapplogic.xbee.api.XBeeResponse&nbsp;response,
                          java.lang.String&nbsp;client)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when a message is undeliverable because the client is offline</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#open(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.util.List, java.lang.String, int)">open</A></B>(java.lang.String&nbsp;server,
     java.lang.Integer&nbsp;port,
     java.lang.String&nbsp;user,
     java.lang.String&nbsp;password,
     java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
     java.lang.String&nbsp;comPort,
     int&nbsp;baud)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#open(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.util.List, com.rapplogic.xbee.api.XBee)">open</A></B>(java.lang.String&nbsp;server,
     java.lang.Integer&nbsp;port,
     java.lang.String&nbsp;user,
     java.lang.String&nbsp;password,
     java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
     com.rapplogic.xbee.api.XBee&nbsp;xbee)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a gateway with an existing XBee object</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#open(java.lang.String, java.lang.String, java.util.List, java.lang.String, int)">open</A></B>(java.lang.String&nbsp;user,
     java.lang.String&nbsp;password,
     java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
     java.lang.String&nbsp;comPort,
     int&nbsp;baud)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#open(java.lang.String, java.lang.String, java.util.List, com.rapplogic.xbee.api.XBee)">open</A></B>(java.lang.String&nbsp;user,
     java.lang.String&nbsp;password,
     java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
     com.rapplogic.xbee.api.XBee&nbsp;xbee)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#processMessage(org.jivesoftware.smack.Chat, org.jivesoftware.smack.packet.Message)">processMessage</A></B>(org.jivesoftware.smack.Chat&nbsp;chat,
               org.jivesoftware.smack.packet.Message&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#processResponse(com.rapplogic.xbee.api.XBeeResponse)">processResponse</A></B>(com.rapplogic.xbee.api.XBeeResponse&nbsp;response)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the XBee-API packet parser thread when a new response is parsed</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#setBaudRate(int)">setBaudRate</A></B>(int&nbsp;baudRate)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#setClientList(java.util.List)">setClientList</A></B>(java.util.List&lt;java.lang.String&gt;&nbsp;clientList)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#setComPort(java.lang.String)">setComPort</A></B>(java.lang.String&nbsp;comPort)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html#shutdown()">shutdown</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.rapplogic.xbee.xmpp.XBeeXmppPacket"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.rapplogic.xbee.xmpp.<A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html" title="class in com.rapplogic.xbee.xmpp">XBeeXmppPacket</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html#decodeMessage(org.jivesoftware.smack.packet.Message)">decodeMessage</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html#encodeMessage(int[])">encodeMessage</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html#encodeMessage(com.rapplogic.xbee.api.XBeeRequest)">encodeMessage</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmppPacket.html#encodeMessage(com.rapplogic.xbee.api.XBeeResponse)">encodeMessage</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.rapplogic.xbee.xmpp.XBeeXmpp"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.rapplogic.xbee.xmpp.<A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html" title="class in com.rapplogic.xbee.xmpp">XBeeXmpp</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html#connectXmpp(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String)">connectXmpp</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html#getXmppConnector(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String)">getXmppConnector</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html#getXmppThing()">getXmppThing</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html#isOfflineMessages()">isOfflineMessages</A>, <A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html#setOfflineMessages(boolean)">setOfflineMessages</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.rapplogic.xbee.api.XBee"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.rapplogic.xbee.api.XBee</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>addPacketListener, clearResponseQueue, close, getCurrentFrameId, getNextFrameId, getResponse, getResponse, initProviderConnection, isConnected, open, removePacketListener, sendAsynchronous, sendAtCommand, sendPacket, sendPacket, sendRequest, sendSynchronous, sendSynchronous, updateFrameId</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="XBeeXmppGateway()"><!-- --></A><H3>
XBeeXmppGateway</H3>
<PRE>
public <B>XBeeXmppGateway</B>()</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>server</CODE> - <DD><CODE>port</CODE> - <DD><CODE>user</CODE> - <DD><CODE>password</CODE> - <DD><CODE>clientList</CODE> - Only xmpp users in this list will receive xbee responses.  Recipients do not need to be online at gateway startup<DD><CODE>comPort</CODE> - <DD><CODE>baudRate</CODE> - 
<DT><B>Throws:</B>
<DD><CODE>org.jivesoftware.smack.XMPPException</CODE>
<DD><CODE>com.rapplogic.xbee.api.XBeeException</CODE></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="open(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.util.List, com.rapplogic.xbee.api.XBee)"><!-- --></A><H3>
open</H3>
<PRE>
public void <B>open</B>(java.lang.String&nbsp;server,
                 java.lang.Integer&nbsp;port,
                 java.lang.String&nbsp;user,
                 java.lang.String&nbsp;password,
                 java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
                 com.rapplogic.xbee.api.XBee&nbsp;xbee)
          throws org.jivesoftware.smack.XMPPException,
                 com.rapplogic.xbee.api.XBeeException</PRE>
<DL>
<DD>Creates a gateway with an existing XBee object
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>server</CODE> - <DD><CODE>port</CODE> - <DD><CODE>user</CODE> - <DD><CODE>password</CODE> - <DD><CODE>clientList</CODE> - <DD><CODE>xbee</CODE> - 
<DT><B>Throws:</B>
<DD><CODE>org.jivesoftware.smack.XMPPException</CODE>
<DD><CODE>com.rapplogic.xbee.api.XBeeException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="open(java.lang.String, java.lang.String, java.util.List, com.rapplogic.xbee.api.XBee)"><!-- --></A><H3>
open</H3>
<PRE>
public void <B>open</B>(java.lang.String&nbsp;user,
                 java.lang.String&nbsp;password,
                 java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
                 com.rapplogic.xbee.api.XBee&nbsp;xbee)
          throws org.jivesoftware.smack.XMPPException,
                 com.rapplogic.xbee.api.XBeeException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.jivesoftware.smack.XMPPException</CODE>
<DD><CODE>com.rapplogic.xbee.api.XBeeException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="open(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.util.List, java.lang.String, int)"><!-- --></A><H3>
open</H3>
<PRE>
public void <B>open</B>(java.lang.String&nbsp;server,
                 java.lang.Integer&nbsp;port,
                 java.lang.String&nbsp;user,
                 java.lang.String&nbsp;password,
                 java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
                 java.lang.String&nbsp;comPort,
                 int&nbsp;baud)
          throws org.jivesoftware.smack.XMPPException,
                 com.rapplogic.xbee.api.XBeeException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.jivesoftware.smack.XMPPException</CODE>
<DD><CODE>com.rapplogic.xbee.api.XBeeException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="open(java.lang.String, java.lang.String, java.util.List, java.lang.String, int)"><!-- --></A><H3>
open</H3>
<PRE>
public void <B>open</B>(java.lang.String&nbsp;user,
                 java.lang.String&nbsp;password,
                 java.util.List&lt;java.lang.String&gt;&nbsp;clientList,
                 java.lang.String&nbsp;comPort,
                 int&nbsp;baud)
          throws org.jivesoftware.smack.XMPPException,
                 com.rapplogic.xbee.api.XBeeException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.jivesoftware.smack.XMPPException</CODE>
<DD><CODE>com.rapplogic.xbee.api.XBeeException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="processResponse(com.rapplogic.xbee.api.XBeeResponse)"><!-- --></A><H3>
processResponse</H3>
<PRE>
public void <B>processResponse</B>(com.rapplogic.xbee.api.XBeeResponse&nbsp;response)</PRE>
<DL>
<DD>Called by the XBee-API packet parser thread when a new response is parsed
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>processResponse</CODE> in interface <CODE>com.rapplogic.xbee.api.PacketListener</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="shutdown()"><!-- --></A><H3>
shutdown</H3>
<PRE>
public void <B>shutdown</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html#shutdown()">shutdown</A></CODE> in class <CODE><A HREF="../../../../../com/rapplogic/xbee/xmpp/XBeeXmpp.html" title="class in com.rapplogic.xbee.xmpp">XBeeXmpp</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="processMessage(org.jivesoftware.smack.Chat, org.jivesoftware.smack.packet.Message)"><!-- --></A><H3>
processMessage</H3>
<PRE>
public final void <B>processMessage</B>(org.jivesoftware.smack.Chat&nbsp;chat,
                                 org.jivesoftware.smack.packet.Message&nbsp;message)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>processMessage</CODE> in interface <CODE>org.jivesoftware.smack.MessageListener</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRosterList()"><!-- --></A><H3>
getRosterList</H3>
<PRE>
protected java.util.List&lt;java.lang.String&gt; <B>getRosterList</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getClientList()"><!-- --></A><H3>
getClientList</H3>
<PRE>
public java.util.List&lt;java.lang.String&gt; <B>getClientList</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClientList(java.util.List)"><!-- --></A><H3>
setClientList</H3>
<PRE>
public void <B>setClientList</B>(java.util.List&lt;java.lang.String&gt;&nbsp;clientList)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="handleUndeliverableClient(com.rapplogic.xbee.api.XBeeResponse, java.lang.String)"><!-- --></A><H3>
handleUndeliverableClient</H3>
<PRE>
public void <B>handleUndeliverableClient</B>(com.rapplogic.xbee.api.XBeeResponse&nbsp;response,
                                      java.lang.String&nbsp;client)</PRE>
<DL>
<DD>Called when a message is undeliverable because the client is offline
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>repsonse</CODE> - <DD><CODE>client</CODE> - Feb 24, 2009</DL>
</DD>
</DL>
<HR>

<A NAME="getComPort()"><!-- --></A><H3>
getComPort</H3>
<PRE>
public java.lang.String <B>getComPort</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setComPort(java.lang.String)"><!-- --></A><H3>
setComPort</H3>
<PRE>
public void <B>setComPort</B>(java.lang.String&nbsp;comPort)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBaudRate()"><!-- --></A><H3>
getBaudRate</H3>
<PRE>
public int <B>getBaudRate</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBaudRate(int)"><!-- --></A><H3>
setBaudRate</H3>
<PRE>
public void <B>setBaudRate</B>(int&nbsp;baudRate)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/rapplogic/xbee/xmpp/gateway/XBeeOpenfireGateway.html" title="class in com.rapplogic.xbee.xmpp.gateway"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/rapplogic/xbee/xmpp/gateway/XBeeXmppGateway.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XBeeXmppGateway.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>
